Adding platform.js