[fix] dont create new res instance on inject, reuse load one
[refactor] head - globals
[++] ijs tests