added notes; fixed javascript for search form