Fixed preprocessing for sync/util.js