added postview.js to index.html