different server based on whether a cordova/weinre is present