How can i input value into object of javascipt