(function (appiceEncode, $, undefined){
    appiceEncode.encodePayload = function (unsafe){
         return encodeURI(unsafe);
      }
           
  }(window.appiceEncode = window.appiceEncode || {}, jQuery))