Updated tracking js to avoid tracking on localhost