move tracking scripts into partial; add all.js into layout