add EM_ASM_ARGS, a nicer name for EM_ASM_
better error handling in EM_ASM
update test_idbfs_sync to use EM_ASM with input arguments, which is more idiomatic
add testing for EM_ASM_ARGS