Add javascript file and test files