So what happens if you give the function at line 43 a name? Because if you’re getting that error, then I think it means you’ve just literally put
function (obj) {
...
Into your code, not in as a callback, just straight into the code
Edit: you’re missing a closing } on that callback function
Edit edit: I’m completely confused now. Have you edited the code you’ve posted several times? because it doesn’t quite make sense unless the replies were about code that isn’t now visible