TreeMap style updates for browser compatibility