Js Get Last Char In String