add js file back and updated package.json