Update DL.js

new approach