JavaScript Content Repository API