move tracker js into it's own file
more debug mode tweaks
debug mode fixes