Includes resolve ​​recursively in js