updating create/post.js and tpl.html