Adding ajax for creation of scores