support for phantomjs :))