Why does jquery Isotope work on my local machine but not online-Collection of common programming errors

There are two versions of jQuery loaded in the page 1.9.1 and 1.8.3.

One is loaded in the header (1.9.1)


Another one from wordpress


I think it is the reason, remove one of them and it should work fine

Or make it compatible with jQuery.noConflict()

jQuery(function($){
    $.ajaxSetup({ cache: false });
    var $container = $('#articlePost');

    $container.isotope({
        masonry: { columnWidth: $container.width() / 3}
    });

    $(window).smartresize(function(){
        $container.isotope({
            // update columnWidth to a percentage of container width
            masonry: { columnWidth: $container.width() / 3}
        });

        $container.isotope('reLayout');

    });
});