JavaScript: Constructor refactor
JavaScript: class variable, immutable fields