Refactor import in load.js