Correct oo JS inheritance