Updating plugin.xml for Cordova 3+.
Updating JS file reference in plugin.xml.
Cleaning up java file.