Fixed parameters being sent in xhr