added ajax helpers
added template loading function
added loadTemplateCallback function
now calling translate results using loadTemplateCallback