readded debug.js