Updates to plugin to make compliant with PhoneGap Build