Create platform.js
Import platform.js