Use a package for refactoring JavaScript