move js file to public/