added ajax tracking to pages, fixed bg swither error