I'm not sold on this change. Creating separate anonymous functions seems like the best way to handle this. I'm not sure why jshint wouldn't like it...