Add phantomjs and refactoring
Remove useless install