Use jquery 1.8,3
Added clicking on document body to close dropdowns