Add the 'run' method to allow running JavaScript from within lua.