Without a slash, the pages tried to load js files from subdirectories of the app