Changes on grunt
Use getElementsByTagName