Update wtm-connector.js