Added script on sidebar.html