Add ctrl-s and ctrl-q shortcuts for save and quit.
Add beforeEach JS snippet.