Removing js alert