Thanks for fixing this. Remember to remove the commented out line.

And: I think you need to pass the type parameter after the callback function.  If you don't specify a type, it probably defaults to PNG which is probably not what we want.