cleanup Object.freeze and formatting
Remove the last Object.defineProperty
replace for loop with while loop because the loop variable is changed in the loop in Traffic
formatting in GameCanvas