Fix JS syntax error that broke enrolling