Refactored hax.js to remove duplicate code and make credits show up on auto tracert