Renamed the variable here to remove a warning in Eclipse
HTML and JavaScript cleanup
Add equals and hashCode overrides to please JPA
Changed some == to === and != to !==
Forgot to change this piece when I removed the edit parameter