wrapped try catch around anthems 302 handler

this is required should a page be handling the onbeforeunload funtion in IE (EI does not handle this gracefully)