Make ajax template