Minor fixes

_is_ajax_request set in controller
Cleaned console.log