updating to mostly work on firefox