changed javascript syntax plugins