Update sync.js
Update sync.js

Fixed an fatal error thrown by "JSON.parse(body)" if "body" is no valid json object.
i18next/i18next-node,i18next/i18next-node,crissdev/i18next-node,gtomitsuka/i18next-node,gtomitsuka/i18next-node,crissdev/i18next-node