code cleanup
Merge pull request #2 from githubbob42/publishPage

code cleanup