Completed post on object oriented javascript