Tag list appears on first page using js