changed much to jquery. still working on displaying the data.