made template https friendly by using protocol relative urls