fix repository after js refactoring