using platform.js to detect platform, os and more.