convert to js and simplify
update docs
remove dependency on underscore
update dependencies
Release 1.0.0