Minor documentation, formatting and jslint changes.