Update extension.js

up to date