Revert "Removed editing pane js"

This reverts commit 564b803dc2849a2e82662d537cfe661de1f93b16.
Use ajax to populate dashboard edit-pane