preparing the js and the test case files