moved js/html files to static directories (main view still loaded as a static file)