Update platform.js to 1.0.0
Merge pull request #2713 from d10/master

Update platform.js to 1.0.0