extension.js case