Adding try/catch block for delete calls on window.
For https://github.com/openannotation/annotator/issues/422