Replaced more '$''s with 'jQuery', to make compatible with Wordpress Megamenu plugin.