Only enqueue JavaScript on root blog if BuddyPress is not in multiblog mode