- Added onSetGlobals event
- Fixed Javascript middleware setup
- Added msie switch to globals