Convert some more code in js/views/ to ES6.

Review Request #8779 — Created Feb. 24, 2017 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
d9514fb...

Reviewers

Everything in here is a straightforward syntax clean-up, with no functional
changes.

Ran js-tests.