The code is messy, unoptimal, and hacked together. It was my first real foray into JavaScript, and the documentation for Phaser is scattered and lost.
I attempted to coerce VS Code into providing some level of support, for instance, tab autocompletion for member functions of the Time object. This was largely unsuccessful.