Basic look at Object oriented javascript