browser.js: sync fails if no options provided

If no options are provided (i.e. no required callbacks), the sync method fails because options is undefined.