Added Bundles for javascript.

Reorganized JS scripts.