finally found a way for lua to read from js.  i had js write a lua global and lua read from it. viola.