Added Arguments to initEvent for IE compatibility

Without these, IE10 returns an Argument not optional error.

Might consider using a different method as initEvent is deprecated per:
https://developer.mozilla.org/en-US/docs/Web/API/event.initEvent