Fix Error undefined is not a function:oauth.js:183

Fix error treatment when you forget to initialize OAuth object and not specified a callback.
-- Uncaught TypeError: undefined is not a function: file :oauth.js:183