Phantomjs

Test the code automatically using `phantomjs`.
Have also added a `.travis.yml` file so this can be tested using __travisci__.

See tests in action here: https://travis-ci.org/surevine/fifo