Example which describes how to use the 'platform.js' module.