A simple template for object–oriented programming in JavaScript.