firefox js bug