||= does not exist in JavaScript