Fixed ajax return format issues, and moved form tags back into mustache template