inital JS for side nav