Code to demostrate how we can give structure to the jQuery code