js: show err on convertion err