Move PageView from viewer.js to its own file
Fix coding style in page_view.js