Changed pageView to use a handlebars template