Don't depend on a css class for selecting the front page nav; use strict mode in the javascript code