updated cm and added marked for markdown rendering
fixed initialization bug due to incompatibility of jquery.ready and angular.element(document).ready