Fix missing bracket in javascript.