Fix navigation in IE7 and small JS tweaks