Fixed JavaScript errors via editing BundleConfig