yeah so I couldn't figure out how to get comments to be preserved when using uglyfy from within node either, so I just called it from the command line, still means you don't have to do the regex for the banner, if this was my repo I'd probably be using grunt at this point as you can set it to build and test all in one.