Make work in node for browserify. Closes #10