replacing js driven menu with static one on pages except homepage