Defining properties on objects in JavaScript made easy.