simple code & spelling fixes
replace 2 clone functions with an npm module
Merge pull request #33 from roots-dev/fixup

code quality