Fix the usage of synchronize.js