jQuery: expanded text to cover number and boolean

following input from @dmethvin