Rendering sidebar with js.
Maintain source preferences with cookie.