add panel(menu) to be exteranl for different pages; add muanully init js func