Update platform.js

This is returning a number rather than a string. Not sure if the doc or the code is incorrect. To return a String you'd need to return device().v instead of device().version.
Merge pull request #2608 from pauljandrew/patch-1

docs(platform): version is a number