Create platformCheck.js