JavaScript identifier implementation compatible with the Simple Chat protocol version 4