ports php implementation to js for v0.2.0
removes underscore as a dependency
updates readme