Is there any write function in the alfresco freemarker node api? I would like to update a document property from a template. If not, is there any way to do this in a template with javascript? As I understand it, alfresco javascript api is not available through a template, but standard javascript is.