Improved code and better docs for download
Added plugin to cordova.js and min.js