Update deepqlearn.js

new approach