cws.js