Coding style cleanup of view.js.