Revert "Fixed bug which displayed undefined if a tag had not been provided"

This reverts commit fc3c273ba09744a75234bef58f98bc4debde0862.
Updated files