More granular approach to expanding jstrees