Replaced getElementById with JQuery.
Removed extra whitespace