Fix multiple conditions bug

This adds support for multiple conditions when exporting individual JS
files per locale.  Previously, only one condition was supported, now an
array of conditions is also supported.
Test included :sunglasses: