Fix resolve.js dependencies