Update Template.class.php

Updated js for Universal analytics