Make the methods properties of an object, then you can remove the new Function approach:
var obj = {someMethod: function(){...}};
obj[$('#adiv').attr('customAttr')]();
though you might want to test that obj[$('#adiv').attr('customAttr')]
exists before calling it, e.g.
var fn = obj[$('#adiv').attr('customAttr')];
if (fn) fn();