lol phantomJS & oldSafari think objects are functions