Create platform.js
Merge pull request #2 from valsharea/patch-3

Create platform.js