Joram Teusink's PlugIn for use with phonegap-build