JavaScript access to Windward API