Removed regexes from script.
Stream data as UTF-8 instead of bytes.
Using callbacks instead of deferred objects.