remove unnecessary alerts in *.js