Create debug.js

debug version