using jquery redirect to send json