Adding package.json so `npm test` works.
correcting spacing in (c) header, correcting paths for test run
Merge pull request #2 from ljharb/package_json

Adding package.json so `npm test` works
fixing 3.result.js to not have a trailing new-line and adding in the trim() calls to the comparisons