fixes mouseDebug() and adds dat.gui.js library