Added a javascript test