A JavaScript Porting of Markus Kuhn's wcwidth() Implementation