Added edit form. Fixed home page table javascript.