part 3 - render javascript to Footer