function getBrandName() {
var location = window.location.href,
taskNumber = location.substr(location.lastIndexOf('/')+1)
taskName = document.getElementById("summary-val").innerText.toLowerCase().replace(/\s+\|\s+/g, '|').replace(/[^a-z0-9]/g, '-').replace(/:/g, '').replace(/\|/g, '').replace(/-+/g, '-')
;
console.log(taskNumber +'-'+ taskName);
}
getBrandName();