check if $.carousel() exists