Prevents page jump when clicking on "Show Object"

Prevents the page jump when a user clicks on “Show Object in JavaScript
Console” + prevents a hash symbol from getting at the end of the URL.