added some more support for chrome