Sending form with ajax. Fixing params in query