scriptMap for jquery and menu operation