Bug fix

Passed in all the tested browsers but IE8. Passes there now. Re-tested in Chrome and FF (now on Linux as well).