Stupid JS doesn't have the ||= operator.