If you run your site under morbo, the debug output should have some information on why your template is not rendering. The default error page under morbo is also helpful.
When you reference a link in the final html that is rendered, it will be relative to public. So a link like src=/blah.js means search for it in the public directories of the app, by default /public.
Update: Fix link
Second Update: Static files are served in sequential order from the array $app->static->paths.