Revised the base template to support auto loading of all ajax responses