Fix environments initialization for v8 new API

Replace https://github.com/tinyerp/erppeek/pull/55