fixed ajax, added some styling