rowse_all").getAttribute('href');  // $('.browse_all').attr("href");
    var params = "&start_date="    + data.start_date; // $('#start_date').val();
    params = params + "&end_date=" + data.end_date;   // $('#end_date').val();
    params = params + "&sleeps="   + data.sleeps;     // $('#sleeps option:selected').val();
    url = url + params.replace(/\//g,'-');
    console.log("Browse all:" + url);
    document.getElementById("browse_all").href = url; // $('.browse_all').attr("href", url);
  }
  // handles