added sidebar js(partial)