add JS for connection with raw_data ids and study_id

This line is longer than 80 characters, can you shorten it? as well as remove the preceding space at the beginning of it?