moved scripts to the ./js/ directory