add support for Safari/iOS