Focus Drawers

I was wondering if anyone had any direction on how I would extend the focus drawers so that I could do something like this which would allow me to initialise some javascript that then would overlay say the address street field in the ACCOUNT dashlet inside the focus draw.

eg when you create a new accouint record initialize the custom->modules->Accounts->clients->base->views->create->create.js
({
extendsFrom: "CreateView",

/**
*
* @param {type} options
* @returns {undefined}
*/
initialize: function (options) {
this.plugins = _.union(this.plugins, ['ScriptLoader', 'methodToCall']);

then i do a window.methodCallback to get the method to run and so on.

Am after a starting point as the focus draw can also have one or many dashlets/dashbards in it and i need to be able to direct the code to the correct one.

cheers
Mike