Create platform.js