Make it work on Firefox