please wrap extract part as plugin like import.js