workaround for phantomjs require path error