got rid of a lot of junk markup and unused css classes; standardized the pulling of pid/uid across post.js code