Improved structure of smarty form template + made PageControllers isAjax public