A JavaScript implementation of IDNA 2008 and Unicode normalization