added a modified jasmine-fake-window, tests passing