Returning empty string so that 'undefined' is not rendered.
Removed trailing comma (which was upsetting IE).