cleanup edit_view.js

* apply autosize and popover to new services
* remove unnecessary markup
* stop using window.setTimeout