Latest version of masonry + conditional sentences for js scripts in footer