removing unnecessary JS