add some JSDocs
Merge remote-tracking branch 'origin/master'

Conflicts:
	js/view.js