Update ws_core.js

Removed deprecated node constructor parameters.