got the javascript working for the sidemenu in profile