Added filter wpml_navbar_sections to make it possible to add or remove items to the navigation.
Fixed calls to deprecated jQuery functions.