Fix jquery live die

Updated the topbar JS for use with newer jQuery where .live() and .die() are no longer available