Added slightly insane code to stop inferior coding styles causing problems with Espruino