Tested JavaScript.

Tested JavaScript and functioning properly.