Firefox and Chrome compatible

Safari still bugged