Move JavaScript files to separate js/ dir