Quick hack to suppress JS warnings in Firefox

See details here and in other tickets:
    https://github.com/twitter/bootstrap/issues/5566
Collapsing navbar for small screens. Working search in navbar.