Include JS in flavors - 3.6

#3131 

This is a PR against SCHOLAR 3.6