Working through JSHint warnings, updated comments