cleaned up unnecessary code snippets in tracker.js