Added jquery for edit events.
Added edit post functionality.
Added some borked edit and add functionality.