capitalize = str => {
  return str.replace(/\b\w/g, function (m) {
    return m.toUpperCase()
  })
}
Capitalizes a string
@param  {string} str uncapitalized string
@return {string} str capitalized string