updated according to Google's version, PR 'Add stub for getSources for Firefox to adapter.js. Fixes #264 #272'