Have you tried to include your Javascript at the bottom of other templates? Just ignore the CSS and Javascript templates, repeat them in the Add/List/Single templates, even it is not ideal.
Database
Mobile app not loading the javascript template
This discussion has been locked so you can no longer reply to it.