Fixed response text centering in JQuery. Added check to avoid key clashes.