Working with the lastest cordova

Plugin updated to work with the last cordova
Compatibility with "browser" platform

Compatibility with "browser" platform
Merge pull request #1 from lcnvdl/master

Inserting latest commits