add npm scripts command
Add PhantomJS test for travis ci