moving scripts to head to fix kissmetrics js error