Tested and setup JavaScript.

Tested and setup JavaScript.