extension.js