fixed path to platform.js