viewProject sync ajax request to get template