[BISERVER-10703] Adding defensive code to frame loading script to contin...

...ue on in the event of an XSS exception.