solve jquery error for joomla and wordpress also added folder for menu type in joomla