Revert "function -> funct for old browser compatiblity"

This reverts commit 45681027d36e205481094a2b66e376c7b84459bf.