remove unnecessary JS alert