resolving deps for iife (global/amd)