add e2e task and update build
remove unused lib
change chrome launcher to phantomJS
add Travis CI