minor fixes for phonegap