The javascript inside the views related to the Navigation widget is registered with the @Html.Script method.
Merge with local changes.