Remove % symbol from percentage
Respond differently if the request is ajax