Fixed some JS issues and added delete function.
Added edit game functionality and the platform and genre select lists are created dynamically.