fixed weather sample on cordova