Clean up edit.js

Doesn't change functionality at all. Tested.