javascript syntax plugin edits