ajax changes with good response
fixed table header & some improvements