enabled center for diplomacy javascript