Update sidebar.js

As the element (variable) in link function is just a jquery select object. Why cant we just use that to bind semantic ui's javascript functions.