instead of this delegating function you can use the bind() feature of Function, but that doesn't work in IE8, so use JQuery.proxy 

handler: $.proxy( local.openButtnHandler, local )

Same effect as your code.