Autocomplete for javascript and minors fixes!