added alert as global in jshint