Removed the double jQuery DOM calls