Added test for java script.