[BISERVER-10703] Adding defensive code to frame loading script to continue on in the event of an XSS exception.