implement David Walsh's bounce rate fix

http://davidwalsh.name/analytics-bounce-rate