Some work on the ajax and tick list creation