Updated JS debugger sample script and documentation