Added javascript testing