adding javascript tests to travis build