$('#J_input_name').on("click",function(e){
e.stopPropagation();
$('#J_select_popup').addClass('in');
});
$('body').on("click", function() {
$('#J_select_popup').removeClass('in');
});
$('#J_select_popup').on("click", function(e) {
e.stopPropagation();
});