added ajax and updated css