duel pt3 js changes