pub-util.js
function cap1(s) {
  s = str(s);
  return s.slice(0,1).toUpperCase() + s.slice(1);
}
function cap1(s) {
  s = str(s);
  return s.slice(0,1).toUpperCase() + s.slice(1);
}
function cap1 ( s ) { s = str ( s ) ; return s . slice ( 0 , 1 ) . toUpperCase ( ) + s . slice ( 1 ) ; }
return string with first letter capitalized
return string with first letter capitalized