We now add a '.js-style' file when populating nodes into directory

structures that are not set to use CommonJs, fixing #818.