Applied javascript_debugging_WIP_v.0.8.diff by Yves.
Applied javascript_debugging_WIP_v.0.9.diff by Yves.