removed references to non-standard __proto__ property

__proto__ has been removed from paltform.js
and the touch-bar.js.

In touch-bar, it was to access a constructor,
and has been replaced with a more appropriate alternative.