fixed community menu JS problem