fix for bug in firefox 3.5
fix for bug in firefox 3.5

* for some reason a nested function needs to be defined as an object
  e.g. myfunc = function () {} // this works
       function myfunc() {} // hits a bug when firebug is running

lmacken/moksha,mokshaproject/moksha,pombredanne/moksha,ralphbean/moksha,mokshaproject/moksha,pombredanne/moksha,mokshaproject/moksha,lmacken/moksha,lmacken/moksha,pombredanne/moksha,mokshaproject/moksha,pombredanne/moksha,ralphbean/moksha,ralphbean/moksha