First attempt to run in node and browser with same spec tests

Closes #4