Major cleanup of JS sample code.
Clean up math methods to remove extraneous ToNumber()'s.
Merge remote-tracking branch 'upstream/master'
Remove extraneous line.
Merge pull request #20 from slightlyoff/master

Major cleanup of JS sample code.