Update sync script

- Add function to convert .js translations to .xml and reversed
- Add check for repo