Update SbtRjs.scala

- collect should be more efficient than filter + map 
- staying DRY with dotJS