jquery added. we could store data as objects using localStorage