Oh and also fixes the bug on FF and IE (line 3 and 6).