[fix] move js to private