Support for IE8

IE8 doesn't support get and set so on register getting RTE and registration stops midway. 
Enclosed this within try catch to suppress this error and make Registration successful and make it work for events and methods.

Let me know if this can be merged.