IP load balancing is done by an internal algorithm usind data from L2, L3 and L4. Non IP traffic is load balanced using an algorithm based on source and destination MAC addresses.
To the best of my knowledge Juniper does not provide any more details than that, and also does not provide any "tuning" tools for modifying the algorithm.