remove unnecessary JS