Fixed more javascript problems (autocompleters)