fix broken keyEsc functionality

* self.options.keyEsc must be true before before checking for e.keyCode == 27