Fix js.Object being inherited more than once.