Scans: Cleaned up JS handling te edit description button

[Issue #50]