changed $ to jQuery?

maybe this will help the bug