make examples work on firefox