created a javascript test