@satoshi1 If it is for simple manipulations with the content , then use Javascript API. But ideally all the business logic should go into your Java. In your case, I don't think there should be any issue in using the Javascript for fetching the tag title , if you are confident about it.