merge VSync.js