Move tagging into a separate function
Simplify response function
Send data to server only if there is actually any data
Paint the building green after tagging
Use UTF-8, Luke