moving the JS to the correct directory