Add JS testing commands to .travis.yml.

As titled.