Refector main.coffee

Run when document ready instead of hard code
Fix xss attack when editing exist article
Remove useless modify render option