SSP-1449 Fix JS syntax issues for IE8