Added x-requested-with header on updateInternalData ajax request