fix js path for the bundle

assuming we do not use [name].bundle.js in config for output.filename