Bugfix a JS error on startup due to a bad variable name