Removed alerts and duplicate js file.