Command To Take Input In Javascript Object Definition