fixed issue w/ outputting "undefined"
added dev dependencies to package.json
switched to using json-stable-stringify
refactored to support arbitrary number of args
added closure-style docs (Google is infecting me!)