Move js files to js/ folder, update references