added core/unique.js per issue #1138
added unique.js to Makefile