Javasccript: Get all tag elements

Javasccript: Get all tag elements