Implemented an AJAX gif loader (useful for slow mobile connections)