Fix JavaScript module and libraries.

Fix JavaScript module and libraries.