Added release version of debug.js
Update debugging check