phonegap binding fixes