Fix undefined error in the CoffeeScript

The problem occurs when attempting to assign a variable using the `?=` operator.