Added copyright notices and inline comments to the javascript code.
Arbitrarily set the version to 0.1.0.