Javascript Encountering Tagname Tolowercase Is Not A Function Stack

Javascript Encountering Tagname Tolowercase Is Not A Function Stack