Implement Testcase of calling java script from C.