Update adapter-init.js