Move js to public