Fix things which broke after phonegap/cordova removal

Signed-off-by: Simon Busch <morphis@gravedo.de>