Firefox and Safari support added

Firefox and Safari support added