Package.js edited to reflect refactor