ajax for adding games kind of works