IE: Fix for Jasmine test on IE