Move import-related js to import.js