Use dojo to attach function to DOM element without using dijit.Button