Let javascript users extend our class