code: function queryStringToJSON(url) {
    if (url === '') {
      return '';
    }
    var pairs = (url).slice(0).split('&'), result = {};
    for (var idx in pairs) {
      var pair = pairs[idx].split('=');
      if (!!pair[0]) {
        result[pair[0].toLowerCase()] = decodeURIComponent(pair[1] || '');
      }
    }
    return result;
  }
docs: /*Utils functions: many of this functions are supported natively in nodejs but there are not implemented yet in the espruino API
  and the idea behind this library is to support embed systems and that is why I added them here.