RController::renderActive renders scripts if ajaxRequest