some javascript test case