Fixing Debug.js issue

Fixes #9