Prototype bug for IE

IE was having issues accessing the prototype (and didnt with __proto__)
so teh appropriate adjustments were made.