code: function escapeCharacters(params) {
      return params;
      var find = new Array('.','-','%','/','\\\\',':','*','\\','<','>','|','?',' ','&','#');
      var replace = new Array('.0','.1','.2','.3','.4','.5','.6','.7','.8','.9','.a','.b','.c','.d','.e'); 
      var escaped = {};
      for (var param in params) {
          if(typeof(params[param]) == 'string') {
              escaped[param] = replaceCharacter(find, replace, params[param]);
          }
          else {
              escaped[param] = params[param];
          }
      }
      return escaped;
  }
docs: Method to escape special characters.