Weemo.js modification needed after V4 upgrade