In a way JS api is good, kinda similar to javascript but it takes more time for execution as compared to sling model as this JS gets converted to java then complied...IMO, As long you are using something only in author, should be fine but for anything which renders on publish also, I would prefer to...