Cast sEcho to int to prevent xss exploits