etElementsByName("sleeps")[0].value     : '',
      email        : document.getElementById("email") ? document.getElementById("email").value : '',
      phone_number : document.getElementById("phone") ? document.getElementById("phone").value : '8888888'
    }

    console.log(data);
    return data;
  }
  // set the browse all url
  // e.g: https://www.onefinestay.com/search/?city=108&start_date=2015-10-23&end_date=2015-10-31&sleeps=5
  function browseAllUrl (data) {
    var url = document.getElementById("b