edflib.h now  works perfectly; as does the nodejs layer