Add JS snippet for debugger.