creating postView.js
fixing working backwards accident