added javscript
added comm and new post features