fixed platform.js src entry in index.html