Added some voodoo JS to fix map resizing.