Selectbily include JS scripts based on build type.