samples for export of CLR funcs to JS