bonescript.js: initial test
bonescript.js: initial kinda working code for getPlatform