Fixed jQuery dependency issue