Javascript client for Ecomet