FIXED event handler with FireFox and Chrome :) Still doesn't work with IE because localStorage...