starting learning object oriented javascript.