You should make this a proper JSON string (use double quotes inside the object for all property names and strings). The _pe.data.getData(elm, 'wet-boew') function can support malformed JSON strings (like this one here) but it has to rely on the use of eval() to do so which is less secure and a lot slower than using a proper JSON parser (which _pe.data.getData uses for properly formed JSON strings).