Added platform.js