Routemap: modify css for IE and add/removeClass func