How To Print Output In Same Line In Js