Fixed thinko in JS (again)