use encoding tool for js id.