fix mochaPhantomJS
update README, add travis
refactoring test