Move JS to its own file.