reinstate bower.json and package.json