Move JS to public