Make page class and javascript initialization to include controller namespace.