Update cwScript.js