page js and html are now seperate files so that the html can be cached without caching the js which only needs to be loaded once to be available in the application