Using Jquery In Javascript Object Restructuring Debt