Allow the encoding of .js files to be set with the encoding option, defaulting to utf8. SourceMaps are always output in utf8, as per the spec.