There's an issue open for adding some extra settings for this kind of thing (https://github.com/espruino/BangleApps/issues/134) - it'd be interesting to see what you find useful to change, so they can be added as user-configurable options without needing the code above
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As @MaBe said...
There's an issue open for adding some extra settings for this kind of thing (https://github.com/espruino/BangleApps/issues/134) - it'd be interesting to see what you find useful to change, so they can be added as user-configurable options without needing the code above