Add somewhat automated tests via phantomjs
Add travis yml