make chart work in FF