Introduction to object-oriented JavaScript