Get rid of $.unsafeWindow. #968
;_;