Fixes some jshint stuff and adds escape shortcut