fix javascript syntax remnant