cordovaDialogs: Fallbacks added to javascript browser methods so it does...

I just added fallbacks to browser window methods in dialogs pluggin.
This way you can test basic functionality in browser during development without throwing errors.

Just made changes in src folder, didn't change anything in dist. So it would need to be added there.