Adding try/catch block for delete calls on window.
For https://github.com/openannotation/annotator/issues/422
Merge branch 'master' into grunt-test