def execute(self, js_str, timeout=0, max_memory=0):
        """ Exec the given JS value """

        wrapped = "(function(){return (%s)})()" % js_str
        return self.eval(wrapped, timeout, max_memory)
Exec the given JS value