fix js and remove empty test files