update platform.js