Get Last Digit Of A Number Javascript