Changed jsmin to support being called with character strings for minifying instead of using stdin and stdout.