How To Declare Prototype In Javascript