move postMessage service to `$` namespace