Add Id implementation in id.js