I'm not sure how the browserify task works, but you might be able to use the `banner` option that grunt-uglify (and some other Grunt tasks) offer instead of doing this yourself.