Gaurding against the callback being undefined in apis
Merge branch 'master' of github.com:scrollback/scrollback