This is not a plugin but a feature of the simulator.

The simulator injects automatically platform-* classes to the body of the app.

You can see a red box in android, blue box in ios and green box in wp8