Removed trigger keydown from keyboard.js,
also added a bunch of missing semicolons (jshint)