Fix javascript syntax.