Making both sides of the bar and making JavaScript code and modify scc