oojs for bear class