Update extends.js