Add charset to ajax method