Allow subclasses to have an init function. Not very javascripty?