Finally realized I was missing the getElementId function at the top so I added that and got my focus/blur working.  Small but awesome victory.  Added the links to clear and show anything added to localStorage, but they don't work because I still get an Internal Server Error when I run my code.