Removing calling to postMessage method.

* postMessage method was removed because self is undeclared in that file, im suppose self is undefined.