Trying to roll my own minification script was not a good idea.