Just a small JS function I use to help with the debug process.