Added javascript test