By the way where do you use this controller action?
I don't see any ajax calls in the javascript code.