When the script loads, I get this error:
TypeErro
Try this snippet:
jQuery(function($) { // Your code. })
It worked for me, maybe it will help you too.