Make navbar work nicely without js