fixing things up and added js autocomplete again
minor edit