Update jslog.js

remove unnecessary statement to check for an error message