Remove referencs to platform.js needed for toolkit components