VE-717: Fix JavaScript syntax error