Setting up the JavaScript debugger