add compatiblity check for earlier Coffee-script