fix all tests and generaition using static API
drop Meta static API, useless and dangerous in case of JS generation