Change console log to alerts and update jshint so the build know about our new library