removed php dependencies and add client-side markdown rendering.