Port some JS models and tests to ES6

Review Request #10186 — Created Sept. 27, 2018 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x
b815c6a...

Reviewers

This patch updates some of our JS models and unit tests to use ES6, as
well as updates them to meet our current documentation standards.

Ran JS tests.