Use individual JS files in bower main option

Fixes #14524.

Unsure if we want to do this though. Thoughts @cvrebert and @fat?

/cc @silvenon