Update ewsjs.js

repaired error in Boolean initialization with default