example ajax binding template in footer