neaten up form scripts
improve script layout
remove 3rd autocomplete