February 27, 2014 at 5:34 am #164255
I could see this happening if your code runs before the carousel has fully initialized. The carousel might inject content into the page after your doc ready. It might explain why it works sometimes. But yeah, hard to say without seeing some code.