Add javascript source and test files