scaffold public/pkgname.js for karma tests

linnovate/mean#539