fix automated testing to cover both Node.JS and browser testing
set package.files and clear package.scripts