Changing the way I check for 'data-' prefix on key values. Using regex instead as suggested by @davidchambers on PR #221.