Fixed Map/Set/Observe for firefox/ie problems