Converting a JS object to an array using jQuery Converting a JS object to an array using jQuery jquery jquery