Fixed bug where options passed through to callback_api.js does not take options like heartbeat etc..