Javascript errors in non-main pages. Global variable start_application (used for socket.) Extra_js comes before main_js. More lenient if templates or preload absent.