Proposed fix to attempt to write to read-only property in IE10 when using jQuery plugin