there is an autocomplete for javascript in codemirror