Update dependencies to work in Safari