switch to duo.js