Mutation events are deprecated, use Mutation Observer instead. You can also use arrive.js library, it uses Mutation Observer internally and provides a nice simple api to listen for elements creation and removal.
$('#container').arrive('.mySelector', function(){
var $newElem = $(this);
});