ripping out internal, name and test from package.js files