fix require for lead.js modules