Sync the two Javascript library