Adding and using phonegap plugin, via config.xml.