updated debug.js to 1.0.4