How To Get Input Data In Javascript Object To String