Remove unnecessary js alert