Fixing duplicate calls to JQuery by putting the Id into a variable.
Removing test code.