IE9 support

IE9 doesn't support custom data keys and throws an error. Using 'Text' to keep IE9 happy doesn't seem to have any disadvantage in other browsers, so it seems worthwhile.