JavaScript interface for cercle