Update nav button filter to be compatible with more browsers