fix build
add phantomjs test