client: rename event to ev

 * make it so that jshint catches it when it would work in chrome but
   not firefox
 * fix spacebar keyboard shortcut in firefox