Fixes Issue #849 and #850 with respect to delete/modify comments

Included modify/delete gist in githubgist
+ Added htdocs/mathjax