Added some documentation
Added JSDoc-like comments
Updated documentation
Updated dist JS