Use .isotope() instead of .masonry() in the isotope behaviour; use yuicompressor instead of yui in build script to match the default command name installed by npm; add extra debug output to monitor isDuringAjax flag.