bug 1026187 - avoid setting __proto__