replaced javascript syntax plugin