Views.js: Move functions to the bottom.