Fixing JavaScript error in the study tree popup.

Issue: GCP-9909
Reviewer: Lisa Quayle