Formatted view.js for readability, added things to TODO. paper type selection works, and will test revision.