adjusting styling and adding a method for determining the ajax url