Use proper node declarations and __proto__ exception