fix javascript oversight with selecting proc data