style: remove trailing spaces
Add postMessage API, refs #31616
minify porthole.js using uglifyjs