adding firefox support for preview window