Adding 'loaded' callback

I wanted to add additional functionally to the editable form before it gets submitted and found the easiest way was to add a loaded callback function which I can then use to append data, etc. Hopefully this will be useful to the community so I have created this pull request for it.