Adding cookie.js refs to the html templates