Started on the AJAX code for tab templates.