Update modem.js

changed returning error string