Consider JS in flavors.

#3113