Ensure JS macros return text