Use `typeof callback === 'function'`. `instanceof` is broken