added ajax support and css