added err_log.js