removed js alerts