Correct a syntax error in the new javascript code.