javascript: make FFI work with HOFs
javascript: fix semicolons
javascript: handle tailcalls for FFI
javascript: assign HOFs properly
javascript: handle arrays correctly in FFI
javascript: address fields directly via ['fieldname']
Merge pull request #322 from raichoo/javascript

javascript: make FFI work with HOFs