refactoring location of js libs