Using the contructur pattern from Douglas Crockford...