simplify id for js