adding rotating scanner ajax request