Sidebar & ajax optimizer
Refactor & optimize