Fix singleton example in FE design patterns
What does this MR do?
Fixes singleton example in FE design patterns.
Prototype is only accessible on a constructor function. In case of classes, constructor function is accessible via a declared class name.