1. Follow same code formatting convention used else where
2. There will be multiple ULS menus in a page, so limite the jquery filter ".languagefilter-clear" to the $menu.