dynamic url for phonegap