this is a demo for the object oriented javascript