I\'m sure the problem happens here:
self.js_fun.call(\'myfunc\')
and I have initialized js_fun:
js_fun
self.js_fun = exe