javascript: quick & dirty compile time error on invalid FFI