Update activation in lib/script.coffee

Listens for <kbd>escape</kbd> and closes the options and script views.