Revert "Minor update for pub/sub examples."

This reverts commit a86cf50d445dedb0768b126fc58da671287983a7.
Fixed problem with minified JS files

Resolved error in minified JavaScript.
Redid updated pub/sub examples.