Update attach.js

added dependency configuration