Add modifyRequest for jquery requests