Fixed issues with translating in Safari

The slider wasn't working in Safari for our team but these changes appear to have fixed it.