Standardised library sync files as lib/sync_*.js