Explicitly include the js in the body or the jscript block according to if the template is view full or not