Added option to specify output buffer as an element outside JSAV container