add JS for connection with raw_data ids and study_id

I can but note that this is valid flake8.