segregate JS files, improved sidebar style