revised js loading and add search.js
added autocomplete. added css/jquery-ui.css. fixed some bugs