Use decoupled AD javascript