Nudging JS very very gently in the direction of OOP.