Weemo JavaScript API