Code cleanup to pass JSLint tests. Added in basic JSDoc structures. More work needed in future weeks.