Update travis.yml and use a javascript file for running test

To suppport Windows, run tests via a javascrpt test runner