fake window object for running jasmine specs