#1036 bug fix for IE9 as it throws an exception instead of ignoring the ...

...error. Just try catch is added in order to ignore prevent IE9 to throw exception