Js Delete Last Character Of String