add JS for connection with raw_data ids and study_id

Instead of using any in the return statement, you could avoid creating `ssb` and return `len(valid_ssb) > 0, valid_ssb` so the code would look like:

```python
valid_ssb = []
for rdi in study.raw_data():
    rd = RawData(rdi)
    ex = PrepTemplate.exists(rd)
    if ex:
        valid_ssb.append(rdi)

return len(valid_ssb)>0, valid_ssb
```