add unit for phantomjs