refactor(tests): update alert.spec.js for jQuery/jqLite