referenced correct js object