Consider scripts from subthemes - 3.6 branch.
Merge pull request #3154 from openscholar/SCHOLAR-3.6-3131

Include JS in flavors - 3.6