Updated javascript and css for selected tree node