Issues hiding text/box elements after concatenation

Hi,

First, you have too many onReady functions in your ClassmateProfiles(ID) page.
Note that when defining the onReady event multiple times only the last definition will register, since it overrides the previous ones.

Try fixing this and see if it sorts out the undefined issue.

Second, regarding the errors and layout issues - do you still experience this issue?
Was the issue solved on its on or did you performed any action ?