fixed: details link ajax window was loading j menus. refractored the code a bit to avoid duplication