Remove console.log in platform.js