refactored some js and cleanup after jshint feeback
updated shortcut lib to use the more current and supported Mousetrap. also tested on Chrome via Tampermonkey