Find out what platform the JavaScript is running in