new pagecontroller js file