encoding.js UTF8.decode: Fix if condition