scripts.database: fixed imports
static files serve
javascript: move of search and base js files