Refs #336. Fixed jQuery dependency.