now sidebar.php use CommonEvent.js