window stub for phantomjs :)