Added JSDoc documentation to project.