fix output toString, whitelist and blacklist in order provided, uglify shims in transform