Fixed certain parts of code for IE8 compatibility
Merge branch 'master' of http://github.com/EGreg/Q