attempt to decode JSON config values
fix nav menu highlight