Compressed everything being sent from the server and moved an anonymous callback to a named function declaration