Allow javascript tests ro run on Travis.
Merge pull request #1297 from openscholar/1294

Allow javascript tests to run on Travis