Updated code documentation

Updated code documentation to be able to generate documentation using JSDuck.
Includes resetting @since tags to 1.0.

Change-Id: I8d08e17970faec48565b1af6683594301725d41f