Use a smarter return type for callbacks.
Remove pointless JSContext arguments.