final fix to js for active tree css