cleaned up the uniqueid.js module