begin alert.js