Update to be node compatible

Add travis config, and update tests to run in node