Adding ajaxTemplate (altTemplate)