Removed printing scripts from method printAjaxPage()