JS :: attempting new object oriented javascript