Just set it directly, as an anonymous function

```
window.__gcse = {
    callback: function() {
           if (document.querySelector...
    }
};