Added json and server side method to verify is right word chosen
Return json message instead of error