Fixed JS error caused by hebrew language

Signed-off-by: Elliot Condon <e@elliotcondon.com>