oo-ed the js