I know if I map an array to a list or grid it will automatically loop, but when I try to map it to a javascript code, it will always fail with an error
Uncaught TypeError: Cannot call method 'find' of undefined
Feels like it's looking for a UI element but can't find it.