[Fixes #45805583] Fixes javascript syntax error