Create handleExtends.js