Instead of $calc.attr 'aria-label': 'Close Calculator'

$calc
.text 'Close Calculator'
.attr 'title' 'Close Calculator'