added ffi example for calling Haskell from JS