syntax error in JS

Just fixing a syntax error