Hacking fixes for various issues

Fixing some issues - IE issues, jQuery 1.9+ issues etc