added ajax load animation and encoding information