Add extra headers and data for Ajax