Fix javascript bug and add edit to verdict