How To Dynamically Add Property To Object In Javascript