removed platform instance from the window object