Bundling: fix problem with new bundles
Merge pull request #1126 from GProulx/FixBundlingJS

Bundling: Fix for new bundle