If jQuery is not seeing it as a function, it’s possible jQuery isn’t being called until after the function loads – take a look in your theme where jQuery is being loaded. If it’s not calling jQuery until after the timeout script, that’s your most likely issue.