Added jsdoc annotation and initial documentation commit.