Update action_controller_extension.rb

Fix:js rendered many times when we user AJAX requests