Update platform.js to 1.0.0