Adding JavaScript test

Signed-off-by: John Becker <caborracho@gmail.com>