domReady working now; typeerror bug still showing up