Call javascript method when click tracking was executed

Some of our customers need to call javascript functions after the click tracking is finished.
Here is example how to connect your own javascript method to our click tracking code.
<script id="pap_x2s6df8d" src="........HERE IS YOUR PAP PATH..../scripts/trackjs.php" type="text/javascript">
<script type="text/javascript">
PostAffTracker.executeOnResponseFinished.push(function() {
     alert("Tracking just finished, execute here your javascript. :-)");