add view community
start to impl the javascript méthode on view community