adds specific javascript sources for games and played games