current-class isn't a function anymore. Thanks Florz