Removed extra javascript alert.