Syntax improvements.

Use WebStorm and InspectionJS to reformat scripts.
Enable strict mode.
Fixed comments and add more readable.
Rewrite sum() method.
Create package.json to create package from project. Now, you could publish to npm repository as package to fetch.