Put Handlebars in common requirements.
Integrate masonry and imagesLoaded libraries in RequireJS.